<div>
    <link rel="stylesheet" href="code/css/common.css">
    <link rel="stylesheet" href="code/css/index.css">
    <script>
        $('.left').append('<div class="modal"></div>')
    </script>
    <style>
        .ad_add_table tr td:nth-child(2) {
            width: 80%;
            text-align: left;
            box-sizing: border-box;
            padding:0 20px;
            box-sizing: border-box;
        }
        .common_input {
            border: 1px solid darkgray;
            min-width: 100%;
        }
        .push_small_img{
            width: 100px;
            height: 100px;
        }
        .up_load{
            width: 100%;
            display: -webkit-box;
            padding-top: 20px;
        }
        .up_load li{
            -webkit-box-flex: 1;
        }
        .up_load li img{
            width: 100px;
        }
        .upfilebox {
            position: relative;
        }
        .upfilebox input {
            width: 100px;
            height: 45px;
            position: relative;
            z-index: 9;
            opacity: 0;
        }
        .upfilebox label {
            position: absolute;
            display: inline-block;
            color: #fff;
            width: 125px;
            height: 45px;
            line-height: 36px;
            text-align: center;
            top: 0px;
            left: 0px;
            font-size: 16px;
            border-radius: 3px;
        }
        .layui-layer-content{
            background-color: #393D49;
            color: #fff;
        }
        .layui-layer-content img{
            width: 100%;
        }
        #wrapper{
            background-color: #F3F3F5;
        }
        .layui-layer-title{
            display: none;
        }
    </style>
    <div class="content_title">
        <span>推送管理>>{{msg}}</span>
        <button class="common_btn cancel" ng-click="cancel()" ng-show="showBack">返回</button>
    </div>

    <div class="ad_content">
        <table class="table ad_add_table">
            <tr>
                <td><i class="redStar">*</i><h5>大标题:</h5></td>
                <td>
                    <input type="text" class="common_input"  ng-model="data.title">
                </td>
            </tr>
            <tr>
                <td><h5>副标题:</h5></td>
                <td>
                    <input type="text" class="common_input" ng-model="data.subTitle">
                </td>
            </tr>
            <tr>
                <td><h5>图片:</h5>
                </td>
                <td id="adImg_col_icon">
                    <ul class="up_load">
                        <li>
                            <div class="upfilebox">
                                <input type="file"  id="upload_push_icon" accept="image/jpeg,image/png,image/gif"/>
                                <!--<label >上传图片</label>-->
                                <label class="btn btn-success " type="button"><i class="fa fa-upload"></i>&nbsp;&nbsp;<span class="bold">上传图片</span>
                                </label>
                            </div>
                            <!--<input type="file" id="upload_video_icon" accept="image/jpeg,image/png,image/gif"-->
                            <!--class="input_upload">-->

                        </li>
                        <li>
                            <img src="{{data.icon}}" alt="" ng-show="data.icon" ng-click="showPhoto(data.icon)">
                        </li>
                    </ul>
                    <p class="redStar">100*100</p>
                    <!--<input type="file" id="upload_push_icon" accept="image/png,image/jpeg,image/gif" class="input_upload">-->
                </td>
            </tr>

            <tr>
                <td><h5>推送种类:</h5></td>
                <td>
                    <select class="select" name="push_tt" id="push_type">
                        <!--<option value="">全部</option>-->
                        <option value="0">文章</option>
                        <option value="1">视频</option>
                        <option value="2">活动</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td><h5>推送ID:</h5></td>
                <td>
                    <input type="text" class="common_input" ng-model="data.contentId" >
                </td>
            </tr>
            <tr>
                <td>
                    <i class="redStar">*</i>
                    <h5>推送时间:</h5>
                </td>
                <td>
                    <!--<input type="datetime-local" step=1 ng-model="data.pushTime" class="dateLocal_input" id="adImg_releaseTime">-->
                    <input id="adImg_releaseTime"  class="form-control layer-date" placeholder="推送时间" onclick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})">
                </td>
            </tr>


            <tr>
                <td>
                    <i class="redStar">*</i>
                    <h5>是否显示:</h5>
                </td>
                <td>
                    <input type="radio" id="ad_add_type1" value="0" name="addType" checked>
                    <label class="common_label" for="ad_add_type1">显示</label>

                    <input type="radio" id="ad_add_type2" value="1" name="addType">
                    <label class="common_label" for="ad_add_type2">隐藏</label>
                </td>
            </tr>
        </table>

        <div class="preserveCancel">
            <button class="preserve_btn" ng-click="pushPost()">保存</button>
            <button class="cancel_btn" ng-click="pushCancel()">取消</button>
        </div>

    </div>
</div>